//
//  Bundle+Extension.swift
//  反射机制
//
//  Created by chenxuan on 2017/4/4.
//  Copyright © 2017年 chenxuan. All rights reserved.
//

import Foundation

extension Bundle {
    
    var nameSpace : String {
        return infoDictionary?["CFBundleName"] as? String ?? ""
    }
    
    func nameSpace1(name: String) -> (String) {

        return Bundle.main.nameSpace + "." + name
    }
    
}
